package com.kingdee.eas.hr.emp;

import java.rmi.RemoteException;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.framework.ejb.EJBRemoteException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.hr.base.HRBillBase;
import com.kingdee.eas.hr.emp.app.ProbationCultureStartController;

public class ProbationCultureStart extends HRBillBase implements IProbationCultureStart{
	
	public ProbationCultureStart()
    {
        super();
        registerInterface(IProbationCultureStart.class, this);
    }
    public ProbationCultureStart(Context ctx)
    {
        super(ctx);
        registerInterface(IProbationCultureStart.class, this);
    }
    public BOSObjectType getType()
    {
        return new BOSObjectType("06BFCBC2");
    }
    private ProbationCultureStartController getController() throws BOSException
    {
        return (ProbationCultureStartController)getBizController();
    }
	
	public ProbationCultureStartCollection getProbationCultureStartCollection()
			throws BOSException {
		try {
            return getController().getProbationCultureStartCollection(getContext());
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}
	@Override
	public ProbationCultureStartCollection getProbationCultureStartCollection(
			EntityViewInfo view) throws BOSException {
		try {
            return getController().getProbationCultureStartCollection(getContext(), view);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}
	@Override
	public ProbationCultureStartCollection getProbationCultureStartCollection(
			String oql) throws BOSException {
		try {
            return getController().getProbationCultureStartCollection(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}
	@Override
	public ProbationCultureStartInfo getProbationCultureStartInfo(IObjectPK pk)
			throws BOSException, EASBizException {
		try {
            return getController().getProbationCultureStartInfo(getContext(), pk);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}
	@Override
	public ProbationCultureStartInfo getProbationCultureStartInfo(IObjectPK pk,
			SelectorItemCollection selector) throws BOSException,
			EASBizException {
		try {
            return getController().getProbationCultureStartInfo(getContext(), pk, selector);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}
	@Override
	public ProbationCultureStartInfo getProbationCultureStartInfo(String oql)
			throws BOSException, EASBizException {
		try {
            return getController().getProbationCultureStartInfo(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	
}
